package com.ctshk.rpc.air.service;

import com.ctshk.common.dto.Result;
import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.air.dto.AirInitializationSettingsDataDto;
import com.ctshk.rpc.air.req.AirInitializationSettingsDataReq;
import com.ctshk.rpc.air.req.AirInitializationSettingsQueryReq;

import java.util.List;

/**
 * <p>
 * 机票api初始化设置表 服务类
 * </p>
 *
 * @author lihang
 * @since 2021-03-05
 */
public interface IAirInitializationSettingsService{


    /**
     * 新增机票API初始化加幅设置
     * @param req
     * @param tokenUser
     * @return
     */
    Result update(AirInitializationSettingsDataReq req, TokenUser tokenUser);

    /**
     * 查询已经存在的机票API加幅信息
     * @param req
     * @return
     */
    Result<List<AirInitializationSettingsDataDto>> query(AirInitializationSettingsQueryReq req);
}
